package cn.edu.zafu.bigdata.cccnnn.workone;

// 测试类
public class TestShape {
    public static void main(String[] args) {
        Shape circle = new Circle(3.0);
        Shape rectangle = new Rectangle(2.0, 5.0);

        circle.display();
        rectangle.display();
    }
}